(popup_get_selection): Now static. New arg DO_TIMERS.
authorRichard M. Stallman <rms@gnu.org>
Sat, 21 Dec 2002 18:19:05 +0000 (18:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 21 Dec 2002 18:19:05 +0000 (18:19 +0000)
commit7320eabb15dc94ff776a832a1d907a6cc8a902cf
tree88250ae0eacae03e72e39cac6813b71195685b39
parentba9dc1b9d76cf58054148c82d77a199b398edb51
(popup_get_selection): Now static.  New arg DO_TIMERS.
If it is non-nil, run timers.  Use an unwind-protect to requeue
the events that were read ahead.
(popup_get_selection_unwind): New subroutine.
(popup_get_selection_queue): File-scope variable now holds that queue.
(xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection.
(xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection.
Use an unwind-protect to pop down the dialog box.
(xdialog_show_unwind): New subroutine implements that.
src/xmenu.c